package com.coocaa.ops.admin.v1.module.service;

import com.coocaa.ops.common.core.biz.auth.entity.SysUserEntity;
import com.coocaa.ops.common.core.biz.module.entity.ModuleInfoEntity;

import java.util.Map;

/**
 * @author bjh
 * @description 模块信息原始表-更新service接口
 * @date 2020-06-15 16:34:46
 */
public interface  IModuleInfoUpdateService {
    /**
     * 保存
     *
     * @param inputEntity
     * @param user
     */
    void save(ModuleInfoEntity inputEntity,SysUserEntity user);

    /**
     * 批量删除
     *
     * @param ids
     * @param user
     * @return
     */
    Map deleteBatch(Integer[]ids,SysUserEntity user);

    /**
     * 删除副本
     *
     * @param id
     * @param version
     * @param user
     */
    void deleteHistory(Integer id, Integer version, SysUserEntity user);

}
